import React from "react";
import FatherToChild from "./01FatherTochild";
import ChildToFather from "./02ChildToFather";
import Brother from "./03Brother";
import ReactEventModel from "./05ReactEventModel";
import OldContext from "./06OldContext";
const App = () => (
  <React.Fragment>
    <FatherToChild />
    <ChildToFather />
    <Brother />
    <ReactEventModel />
    <OldContext messages={[{ text: 111 }, { text: 222 }]} />
  </React.Fragment>
);
export default App;
